<template>
  <div class="about">
    <h1>热卖</h1>
    <Products></Products>
    <!-- <Products2></Products2> -->
  </div>
</template>

<script>
// import { mapState, mapMutations, mapGetters } from 'vuex'
import Products from '../components/Products' // 方法一：这个是用vuex全局变量的方法来加载数据的
// import Products2 from '../components/Products2' //  方法二：这个是用写好的文件接口来加载数据的
export default {
  components: {
    Products
    // Products2
  },
  created() {
    // this.loadDataEnd()
  },
  computed: {
    /* ...mapState('movies', {
      current: 'current',
      list: 'list'
    }),
    ...mapGetters('movies', { listCount: 'listCount' }) */
  },
  methods: {
    /* ...mapMutations('movies', {
      loadDataEnd: 'loadDataEnd',
      loadOneEnd: 'loadOneEnd'
    }) */
  }
}
</script>

<style>
</style>script
